﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class test_pagination_paginatioin : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string[] list = null;
        Chenxin.Lib.Cache.CacheService cslist = new Chenxin.Lib.Cache.CacheService(Chenxin.Lib.Cache.CacheConn.xCacheConn.HOUSE);

        string strListKey = string.Format(Chenxin.Lib.Cache.CacheDataType.HOUSE, "house.compare." + Guid.NewGuid().ToString());
        list = cslist.GetStringArray(strListKey);

        if (!cslist.Hit)
        {
            list = new string[5];
        }

        cslist.Set(strListKey, list);
    }
}
